import Vue from "vue"
import App from "./App.vue"
import router from "./router"
import store from "./store"
import "./plugins/element.js"
import 'normalize.css'
import '@/assets/css/base.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import api from '@/api'
Vue.use(ElementUI)

import JsonExcel from 'vue-json-excel'
Vue.component('downloadExcel', JsonExcel)

// 面包屑组件
import Breadcrumb from '@/components/breadcrumb/Breadcrumb.vue'
Vue.component('Breadcrumb',Breadcrumb)

import i18n from "./lang"

Vue.prototype.$api = api

// import echarts from 'echarts'
// Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

new Vue({
  router,
  store,
  i18n,
  render: (h) => h(App),
}).$mount("#app");
